<div class="indexWidth">
    <button type="button" class="btn btn-info mainButtonRight"><a
            href="javascript:takeout.openMenu('${ctxPath!}/media/list?imageid=${media.otherid!}', null)"
            class="mianAcolor">返回</a>
    </button>
    <div class="sectionTitle">
        图片管理
        <hr>
    </div>

    <form id="medForm" action="${ctxPath!}/media/save?imageid=${media.otherid!}" method="POST" class="form-horizontal"  enctype="multipart/form-data">
        <input type="hidden"  name="media.id" class="mainSetWidth" value="${media.id!}"/>
        <input type="hidden" name="media.img" value="${media.img!}"/>
        <input type="hidden" name="media.otherid" value="${media.otherid!}"/>

        <input type="hidden" name="media.type" value="${media.type!}"/>
        <div class="indexWidth" style="display: flex;align-items:center;">
            <div class="articleFormLabel">
                <label class="mainSetConsistentWidth">图片: </label>
            </div>
            <picture><a href="${media.img}" target="_blank">
                <image style="width: 250px;height: 180px;margin-left:10px;" src="${media.img}"/>
            </a></picture>
        </div>
        <hr>
        <div class="articleFormLabel">
            <label class="mainSetConsistentWidth">APPID：</label>
            <input type="text" name="media.wxappid" class="mainSetWidth" value="${media.wxappid!}" placeholder=""/>
        </div>
        <div class="articleFormLabel">
            <label class="mainSetConsistentWidth">APPURL：</label>
            <input type="text" name="media.wxppurl" class="mainSetWidth" value="${media.wxppurl!}" placeholder=""/>
        </div>
        <div class="form-group">
            <button style="margin-left: 100px;width:95px;" class="btn btn-info articleFormButton" type="button"
                    onclick="takeout.ajaxFormMainPanel('medForm')">保存
            </button>
        </div>

    </form>